WC_Braintree\Apple_Pay\Frontend S

Total Complexity 32
Dependencies 3
Dependents 1
Total lines 206
Lines of code 98
Logical lines of code 58
Comment lines 64
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
render_button()
A
44 11 47
is_tokenization_forced()
S
60 8 13
should_init_on_product_page()
S
71 3 6
should_init_on_cart_page()
S
71 3 6
should_init_on_checkout_page()
S
71 3 6
enqueue_scripts()
S
62 2 10
get_js_handler_class_name()
S
82 1 3
get_js_handler_args()
S
67 1 7